
class User:
    """用户账户信息"""
    username : str = None     # 用户名
    password : str = None     # 密码
    gender = None             # 性别
    age = None                # 年龄

    def __init__(self, username, password, age = 18, gender = '男'):
        self.username = username
        self.password = password
        self.age = age
        self.gender = gender